Skip to content

Conversation

@joegallo
Copy link
Contributor

This is just a refactoring PR -- we have some repeated blocks of the same logic, so I'm extracting them into utility methods and then using those utility methods.

Note: I can't auto-backport because the HashMap.newHashMap(2) change isn't going to be going back to 8.x (that branch has a minimum java compatible version of 17, so we can't use HashMap.newHashMap(...) which is a 19-ism).

On Elasticsearch 9.0 and above, the minimum JVM version is 21, so we
can use new-fangled functions like this.
@joegallo joegallo added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >refactoring Team:Data Management Meta label for data/management team v8.19.0 v9.1.0 labels Mar 18, 2025
@joegallo joegallo requested a review from masseyke March 18, 2025 19:16
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@parkertimmins parkertimmins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joegallo joegallo merged commit 0efa6f8 into elastic:main Mar 18, 2025
17 checks passed
@joegallo joegallo deleted the ingest-geoip-maxmind-cleanup branch March 18, 2025 21:05
joegallo added a commit to joegallo/elasticsearch that referenced this pull request Mar 19, 2025
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Mar 21, 2025
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >refactoring Team:Data Management Meta label for data/management team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants